import QtQuick 2.0
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
import QtQuick.Layouts 1.1

Item{

    id : idname

    signal clicked()
    width: 200
    height: 200
    Row{
        id: row1
        anchors.right: parent.right
        anchors.rightMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 0
        Image{

            id:image1
            width: 100
            anchors.left: parent.left
            anchors.leftMargin: 0
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 0
            anchors.top: parent.top
            anchors.topMargin: 0
            source: "qrc:/resouces/images/drawable-hdpi/icon_cate.png"
        }

        Image {
            id: image2
            anchors.right: parent.right
            anchors.rightMargin: 0
            anchors.bottomMargin: 0
            anchors.topMargin: 0
            anchors.left: image1.right
            anchors.top: parent.top
            anchors.bottom: parent.bottom
            source: "qrc:/resouces/images/drawable-hdpi/icon_docbao.png"
        }

    }
    MouseArea{
        anchors.fill: idname
        onClicked: parent.onClicked()
    }

}
